package com.water.wfo.sys.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 系统公告表
 * </p>
 *
 * @author water&7
 * @since 2024-07-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Bulletin对象", description="系统公告表")
public class BulletinEntiy implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "标题")
    @TableField("TITLE")
    private String title;

    @ApiModelProperty(value = "内容")
    @TableField("CONTENT")
    private String content;

    @ApiModelProperty(value = "发布时间")
    @TableField("PUBLISH_TIME")
    private Date publishTime;

    @ApiModelProperty(value = "作者")
    @TableField("WRITER")
    private String writer;

    @ApiModelProperty(value = "状态")
    @TableField("BUL_STATE")
    private String bulState;
    @ApiModelProperty(value = "有效性")
    private String active;
}
